package com.gusto.engine.spring.parsers;

import org.springframework.beans.factory.support.AbstractBeanDefinition;
import org.springframework.beans.factory.support.BeanDefinitionBuilder;
import org.springframework.beans.factory.xml.AbstractBeanDefinitionParser;
import org.springframework.beans.factory.xml.ParserContext;
import org.w3c.dom.Element;
import com.gusto.engine.semsim.measures.impl.JaroWinklerStringSimilarity;

public class ParserJaroWinklerStringSimilarity extends AbstractBeanDefinitionParser {
	
	protected AbstractBeanDefinition parseInternal(Element element, ParserContext parserContext) {
		BeanDefinitionBuilder beanDefinitionBuilder = BeanDefinitionBuilder.rootBeanDefinition(JaroWinklerStringSimilarity.class);
		
		return beanDefinitionBuilder.getBeanDefinition();
	}
}
